package com.disease.chronic.Mappers;

import com.disease.chronic.pojo.Tips;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TipsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tips record);

    int insertSelective(Tips record);

    Tips selectByPrimaryKey(Integer id);

    @Select("select ID, CONTENT from TIPS")
    List<Tips> selectAll();

    int updateByPrimaryKeySelective(Tips record);

    int updateByPrimaryKey(Tips record);
}